body {
  min-width: 320px;
  max-width: 540px;
  margin: 0 auto;
  background-color: #fff;
  font-size: 14px;
  line-height: 1.5;
  font-family: -apple-system, Helvetica, sans-serif;
}

/* 点击高亮我们需要清除样式 */
* {
  -webkit-tap-highlight-color: transparent;
}

/* 在移动端浏览器默认的外观在ios加上这个属性才能给按钮和输入框自定义样式 */
input {
  -webit-appearance: none;
}

/* 禁用长按页面时弹出菜单 */
img,
a {
  -webit-touch-callout: none;
}

/* 顶部提升 */
/* 流式布局： 百分比布局 */
.top-tips {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 45px;
  font-size: 14px;
  line-height: 45px;
  background-color: #333;
  color: #fff;
  text-align: center;
}

.top-tips div:nth-child(1) {
  float: left;
  width: 8%;
}

.top-tips div:nth-child(1) img {
  width: 10px;
  height: 10px;
  vertical-align: middle;
}

.top-tips div:nth-child(2) {
  float: left;
  width: 10%;
}

.top-tips div:nth-child(2) img {
  width: 30px;
  vertical-align: middle;
}

.top-tips div:nth-child(3) {
  float: left;
  width: 57%;
}

.top-tips div:nth-child(4) {
  float: left;
  width: 25%;
  background-color: red;
}

/* 搜索框 */
.search-box {
  position: fixed;
  font-size: 14px;
  top: 45px;
  left: 0;
  width: 100%;
  height: 44px;
  z-index: 20;
}

.search-box .search-btn {
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 44px;
  line-height: 44px;
}

.search-box .search-btn span {
  display: block;
  width: 20px;
  height: 18px;
  margin: 14px 0 0 15px;
  background: url(../images/s-btn.png) no-repeat 0 0;
  background-size: 20px 18px;
}

.search-box .search {
  position: relative;
  height: 30px;
  margin: 7px 50px;
  background-color: #fff;
  border-radius: 15px;
}

.search-box .search span {
  position: relative;
  float: left;
  width: 20px;
  height: 15px;
  background: #000;
  margin: 8px 8px 0 15px;
  background: url(../images/logo2.png) no-repeat 0 0;
  background-size: 20px 15px;
}

.search-box .search span::after {
  position: absolute;
  content: "";
  width: 1px;
  height: 15px;
  background-color: #ccc;
  right: -8px;
}

.search-box .search i {
  float: left;
  width: 18px;
  height: 15px;
  margin: 8px 0 0 15px;
  background: url(../images/jd-sprites.png) no-repeat -82px 0;
  background-size: 200px 200px;
}

.search-box .search input {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 30px;
  padding: 0 20px 0 78px;
  background-color: transparent;
  border: none;
  font-size: 12px;
  outline: 0;
}

.search-box .search-login {
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  height: 44px;
  line-height: 44px;
  text-align: left;
  color: #fff;
}

/* 主要内容区域 */
.banner {
  position: relative;
  padding-top: 89px;
  width: 100%;
  height: 187px;
  overflow: hidden;
}

.banner .banner-bg {
  position: absolute;
  top: 45px;
  left: -25%;
  height: 145px;
  width: 100%;
  padding: 0 25%;
  border-bottom-left-radius: 100%;
  border-bottom-right-radius: 100%;
  background-image: linear-gradient(0deg, #f1503b, #c82519 50%);
  z-index: -2;
}

.banner ul {
  position: relative;
  margin: 0 10px;
}

.banner ul li {
  position: absolute;
  top: 0;
  left: 0;
}

.banner ul li a img {
  border-radius: 10px;
  width: 100%;
}

.youhui {
  display: flex;
  margin-top: -44px;
}

.youhui a {
  flex: 1;
}

.youhui a img {
  width: 100%;
}

/* 导航 */
/* flex布局 */
nav {
  display: flex;
  flex-wrap: wrap;
  height: 162px;
}

nav a {
  width: 20%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
}

nav a img {
  width: 40px;
  height: 40px;
}

nav a span {
  font-size: 12px;
  color: #666;
  margin-top: 6px;
}


/* 新人专享 */
.new {
  margin: 10px;
  display: flex;
}

.new a {
  width: 50%;
}

.new a img {
  width: 100%;
}